package cn.com.unionlife.hy.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.unionlife.hy.system.vo.MenuVO;

@Repository("menuMapper")
public interface MenuMapper {
 
	//获取用户有权限的菜单
	public List<MenuVO> getUserMenus(String id);
	
	public void deleteAllUserMenus(String userId);
	
	public void insertUserMenus(@Param("userId")String userId , @Param("menuIds")Long[] menuIds);
}  
